Creating XForms using Web Services |
|
Before you begin this task:
Ensure that the Web service to be used to create the XForm is published and available for use.
Process Platform supports the use of Web services to create XForms. A Web service is a simple, open-standard, and XML-based Web application that allows interoperability between various platforms. A Web service may contain multiple Web service operations to provide a wide range of services.
- Select a starting point and click (User Interface) to create XForms using Web Services. The Untitled User Interface - User Interface App Palette appears and the XForms Designer displays.
- Drag the appropriate Web service to the XForm from the WebserviceBindingOperation group in the Insert tab. Alternately, right-click the Designer Area of the XForm, select Insert > Insert Web Service, and drag the Web service from the Web Services dialog box that appears. This right-click menu option is available for a split area, an XForm, and for the Group, Groupbox, and Tab Page grouping controls.
Note:
You can also use external Web services to create XForms. For information about using external Web services in Cordys, see Working With External Web services. - Make appropriate modifications in the Generate Input and Output UI dialog box and click OK.
- Select Generate UI for Input message to generate an input UI.
- Select Generate UI for Output message to generate an output UI.
Note:
For details about generating UI, see Generating Input and Output User Interfaces.
- Click to save the XForm. The Untitled User Interface - User Interface dialog box appears.
- Enter the name of the XForm in the Name field. The name of the XForm must begin with a letter of the alphabet or an underscore, and can contain only letters, numbers, and underscores. A name that begins with an underscore must contain at least one letter or number. The user interface name cannot contain multi-byte characters.
Caution:
Ensure that the names that you specify are not the same as the names of the predefined XForms in the application. - Enter a description for the XForm in the Description field. The description can contain only letters, numbers, and special characters such as periods (.), commas (,), parenthesis (()), single quotation marks ('), hyphens (-), and underscores (_).
- In the Location field, select . The Select Folder dialog box opens.
- Specify the location at which the XForm must be saved in the Select Folder dialog box, and click OK. The Select Folder dialog box closes.
- Select Save in the Untitled User Interface - User Interface dialog box. The Untitled User Interface - User Interface dialog box closes.
A new XForm is created and saved. You can use the preview feature to preview the XForm. To do so, click (Preview) in the toolbar.Note:
If the schema of a Web service that is being used in an XForm is changed, the change will not be automatically reflected in the XForm. In this case, you must again add the modified Web service to the XForm.After you complete this task:
After creating an XForm, you can customize it and translate it in various languages, as required. You can also publish it to use it in an application.